DeliciousBrains\WPMDB\Common\Filesystem\Filesystem D

Total Complexity 163
Dependencies 11
Dependents 19
Total lines 1,063
Lines of code 547
Logical lines of code 355
Comment lines 308
Methods 39
Properties 6

Methods 39

Method Rating Maintainability Complexity Lines of code
rmdir()
A
50 10 29
move()
A
54 9 23
scandir()
A
52 8 23
copy()
A
56 8 18
get_backups()
S
49 7 30
get_upload_info()
S
49 7 30
get_plugin_paths()
S
52 7 24
mkdir()
S
54 7 23
download_file()
S
47 6 33
get_file_info()
S
50 5 26
get_local_plugins()
S
53 5 22
scandir_recursive()
S
55 5 20
rcopy()
S
56 5 18
touch()
S
60 5 14
chmod()
S
62 5 11
get_active_plugins()
S
58 4 16
wp_filesystem_mkdir()
S
58 4 16
check_for_wp_filesystem()
S
68 5 7
open()
S
59 4 14
__construct()
S
60 3 13
file_exists()
S
67 3 8
close()
S
64 3 10
is_readable()
S
67 3 8
put_contents()
S
64 3 9
is_writable()
S
67 3 8
filesize()
S
67 3 8
get_contents()
S
67 3 8
unlink()
S
66 3 8
is_dir()
S
67 3 8
is_file()
S
67 3 8
maybe_init_wp_filesystem()
S
62 2 11
move_uploaded_file()
S
69 2 7
get_sanitized_path()
S
71 2 6
get_wp_filesystem()
S
71 2 7
register()
S
65 2 9
get_wp_upload_dir()
S
76 1 4
format_backup_name()
S
75 1 4
using_wp_filesystem()
S
82 1 3
slash_one_direction()
S
78 1 3